#ifndef __COMMON_H
#define __COMMON_H
#include "stm32f0xx.h"
#include "led.h"

#define NULL 0

#ifdef DEBUG
#define DEBUG(x)
#endif

#define assert(asse)

#define u8  uint8_t
#define u16 uint16_t
#define u32 uint32_t

//---------------------------------delay---------------------------------
void delay_init(void);
void delay_ms(uint16_t nms);
void delay_us(uint32_t nus);
//---------------------------------delay---------------------------------

#endif





























